import { defineStore } from 'pinia'

import $axios from '../utils/axios'

import { okmsg, errormsg } from '../utils/message'

export const useEmpStore = defineStore('emp', {
  state: () => ({
    modulepath: '/dept',
    // 缓存当前用户的信息
    loginfo: {
      empno: 7369,
      roleno: 3
    }
  }),
  getters: {
    // depts: (state) => state.cachinglist
  },
  actions: {}
})
